<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<c:set var="basePath" value='<%= request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()%>' />



<!DOCTYPE HTML>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>城市安全管家代理终端平台</title>
	  <meta charset="utf-8">
	  <meta http-equiv="X-UA-Compatible" content="IE=edge">
	  <meta name="viewport" content="width=device-width, initial-scale=1">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	  <script type="text/javascript">
          var rootPath = "<%=basePath%>";
	  </script>
	<script src="common/script/jquery-1.11.2.js" type="text/javascript"></script>
	  <script src="common/script/bootstrap.js" type="text/javascript"></script>
	  <script src="common/script/bootstrap-datetimepicker.js" type="text/javascript"></script>
	  <script src="common/script/bootstrap-datetimepicker.zh-CN.js" type="text/javascript"></script>
	  <script src="common/script/jquery.easyui.min.js" type="text/javascript"></script>
	  <script src="common/script/easyui-lang-zh_CN.js" type="text/javascript"></script>
	  <script src="common/script/easyloader.js" type="text/javascript"></script>
	  <script src="common/script/formload.js" type="text/javascript"></script>
	  <script src="common/script/index.js" type="text/javascript"></script>
	  <script type="text/javascript" src= "js/jsUtils.js" ></script>
	  


	  <link rel="stylesheet" type="text/css" href="common/css/bootstrap.css">
	  <link rel="stylesheet" type="text/css" href="common/css/bootstrap-datetimepicker.css">
	  <link rel="stylesheet" type="text/css" href="common/css/easyui.css">
	  <link rel="stylesheet" type="text/css" href="common/css/main.css">
	  <link rel="icon" href="common/favicon.ico" type="image/x-icon" />
	  <link rel="shortcut icon" href="common/favicon.ico" type="image/x-icon" />
  </head>
	  <nav class="navbar navbar-inverse navbar-fixed-top" style="    height: 56px;">
		  <div class="container-default">
			  <div class="navbar-header">
				  <div class="logo"><img class="logo-png" src="common/image/LOGO.png" />
				  <span style="color:#f9f2f4;color: #f9f2f4;
    line-height: 56px;
    font-size: 16px;
    padding-left: 4px;">城市安全管家代理终端平台</span>

				  </div>
				  <div class="user_info" style="position: absolute;
    right: 5px;line-height: 56px;">

					  <button type="button" class="btn btn-default navbar-btn" id="logout" onclick="Index.logout();">退出</button>
					  <button type="button" class="btn btn-default navbar-btn" id="reset_psw" data-toggle="modal" data-target="#resetPswModal">修改密码</button>

				  </div>

			  </div>

		  </div>
	  </nav>

	  <div class="container-fluid">
		  <div class="row">
			  <div class="col-sm-3 col-md-2 sidebar">
				  <ul class="nav nav-sidebar" id="menu_ul">
					  <li>
						  <a href="#alarm" class="nav-header collapsed" data-toggle="collapse">
							  <i class="glyphicon glyphicon-envelope"></i>
							  短信管理
							  <span class="pull-right glyphicon glyphicon-chevron-down"></span>
						  </a>
						  <ul id="alarm" class="nav nav-list collapse secondmenu" style="height: 0px;">
							  	<li><a link="s/sms/tpl/page/list.cgi" href="javascript:void(0);" hasLink="true" class="menu-link"><i class="glyphicon glyphicon-list"></i>&nbsp;模板管理</a></li>
							  <li><a link="s/sms/msg/pageList.cgi" href="javascript:void(0);" hasLink="true" class="menu-link"><i class="glyphicon glyphicon-search"></i>&nbsp;发送记录查询</a></li>
							  <li><a link="s/sms/msg/batchsend.cgi" href="javascript:void(0);" hasLink="true" class="menu-link"><i class="glyphicon glyphicon-share"></i>&nbsp;短信发送</a></li>

						  </ul>
					  </li>
						<!--
					  <li><a href="#">设备管理</a></li>
					  -->

					  <li>
						  <a href="#systemSetting" class="nav-header collapsed" data-toggle="collapse">
							  <i class="glyphicon glyphicon glyphicon-cog"></i>
							  系统管理
							  <span class="pull-right glyphicon glyphicon-chevron-down"></span>
						  </a>
						  <ul id="systemSetting" class="nav nav-list collapse secondmenu" style="height: 0px;">
						  
						  
							  <li><a link="s/sys/msg/index.cgi" href="javascript:void(0);" hasLink="true" class="menu-link"><i class="glyphicon glyphicon-user"></i>&nbsp;系统消息管理</a></li>
							  <li><a link="s/sys/agent/index.cgi" href="javascript:void(0);" hasLink="true" class="menu-link"><i class="glyphicon glyphicon-tree-conifer"></i>&nbsp;运营商管理</a></li>
							  <li><a link="s/sys/server/index.cgi" href="javascript:void(0);" hasLink="true" class="menu-link"><i class="glyphicon glyphicon-home"></i>&nbsp;业务平台信息管理</a></li>

							  <li><a link="s/appversion/index.cgi" href="javascript:void(0);" hasLink="true" class="menu-link"><i class="glyphicon glyphicon-phone"></i>&nbsp;app版本管理</a></li>
							  <li><a link="s/sys/config/index.cgi" href="javascript:void(0);" hasLink="true" class="menu-link"><i class="glyphicon glyphicon-pencil"></i>&nbsp;系统配置</a></li>
							  <li><a link="s/sys/dict/index.cgi" href="javascript:void(0);" hasLink="true" class="menu-link"><i class="glyphicon glyphicon-pencil"></i>&nbsp;数据字典</a></li>
							  <li><a link="s/sys/feedback/index.cgi" href="javascript:void(0);" hasLink="true" class="menu-link"><i class="glyphicon glyphicon-pencil"></i>&nbsp;用户反馈</a></li>
						  </ul>
					  </li>
				  </ul>

			  </div>
			  <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main" id="pageContener">
			  </div>
		  </div>
		  <!--footer -->

	  </div>
  <div id="footer" class="container">
	  <nav class="navbar navbar-inverse navbar-fixed-bottom footer-nav">
		  <div class="navbar-inner navbar-content-center" >
			  <p style="line-height: 30px;">Copyright © 2017 四川西谷物联科技有限公司</p>
			  </p>
		  </div>
	  </nav>
  </div>
  <!--
  <footer class="bs-docs-footer">
	  <div class="container">




	  </div>
  </footer>
-->
  <div class="modal" id="resetPswModal"  role="dialog" aria-labelledby="editUserModalLabel" style="z-index:9999;display: none;" >
	  <div class="modal-dialog" role="document">
		  <div class="modal-content">
			  <div class="modal-header">
				  <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
				  <h4 class="modal-title" id="editUserModalLabel">修改密码</h4>
			  </div>
			  <div class="modal-body">
				  <form id="sysUserForm" class="form-horizontal">
					  <input type="hidden" name="userId" id="userId" value="<%=request.getAttribute("userId") == null?"":request.getAttribute("userId")%>" />

					  <!--<div class="form-group" >-->

					  <div class="form-group">
						  <label class="col-sm-2 control-label"><span class="required">*</span>原密码</label>
						  <div class="col-sm-10">
							  <input type="password" class="form-control " id="oldPsw" name="oldPsw" />
						  </div>
					  </div>
					  <div class="form-group">
						  <label class="col-sm-2 control-label"><span class="required">*</span>新密码</label>
						  <div class="col-sm-10">
							  <input type="password" class="form-control " id="newPsw" name="newPsw" />
						  </div>
					  </div>
					  <div class="form-group">
						  <label class="col-sm-2 control-label"><span class="required">*</span>重复密码</label>
						  <div class="col-sm-10">
							  <input type="password" class="form-control " id="repeatPsw" name="repeatPsw" />
						  </div>
					  </div>

					  <!--</div>-->

				  </form>
			  </div>
			  <div class="modal-footer">
				  <button type="button" class="btn btn-default" data-dismiss="modal" >取消</button>
				  <button type="button" class="btn btn-primary" id="" onclick="Index.resetPsw();">保存</button>
			  </div>
		  </div>
	  </div>
  </div>

  <!-- system modal start -->
  <div id="com-alert" class="modal" style="z-index:9999;display: none;" >
	  <div class="modal-dialog modal-sm">
		  <div class="modal-content">
			  <div class="modal-header">
				  <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
				  <h5 class="modal-title"><i class="fa fa-exclamation-circle"></i> [Title]</h5>
			  </div>
			  <div class="modal-body small">
				  <p>[Message]</p>
			  </div>
			  <div class="modal-footer" >
				  <button type="button" class="btn btn-primary ok" data-dismiss="modal">[BtnOk]</button>
				  <button type="button" class="btn btn-default cancel" data-dismiss="modal">[BtnCancel]</button>
			  </div>
		  </div>
	  </div>

  </div>
  <!-- system modal end -->


  </body>

</html>
